package com.wanhong.springboot.ssm.service.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * 日志表(Location)表实体类
 *
 * @author makejava
 * @since 2022-06-17 21:40:20
 */
@SuppressWarnings("serial")
public class Location extends Model<Location> {
    @TableId(value = "tid",type = IdType.AUTO)
    private Integer tid;

    private String province;

    private Integer cityid;


    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public Integer getCityid() {
        return cityid;
    }

    public void setCityid(Integer cityid) {
        this.cityid = cityid;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.tid;
    }
}

